@extends('backend::layout')
@section('title',$page_title)
@include('backend::component.upload.upload_js')
@section('content')
    @component('backend::cms.message.msg_frame')
        @slot('send_msg') active @endslot
        @slot('content')
            <form id="send-msg" method="post" action="{{route('b_Message_send')}}">
                @component('backend::component.form.form-group')
                    @slot('title') 会员 @endslot
                    @component('backend::component.form.textarea')
                        @slot('name') to_user @endslot
                        @slot('row') 2  @endslot
                        @slot('value')
                            @if($user_info)
                                    {{$user_info->user_number.'['.$user_info->real_name.']'}},
                            @endif
                        @endslot
                    @endcomponent
                    @slot('remark')多个会员用','分割@endslot
                @endcomponent

                @component('backend::component.form.form-group')
                    @slot('title') 主题 @endslot
                    @component('backend::component.form.input')
                        @slot('name') title @endslot
                    @endcomponent
                @endcomponent

                @component('backend::component.form.form-group')
                    @slot('title') 留言内容 @endslot
                    @component('backend::component.form.textarea')
                        @slot('name') content @endslot
                    @endcomponent
                    @slot('remark')内容中标点符号只能包含',.!'@endslot
                @endcomponent

                @component('backend::component.form.form-group')
                    @slot('title') 上传截图 @endslot
                    @component('backend::component.upload.upload_img')
                        @slot('name') msg_img @endslot
                        @slot('img_num') 4 @endslot
                        @slot('group') message @endslot
                    @endcomponent
                    @slot('remark')最多上传4张图标@endslot
                @endcomponent
                <div class="form-actions">
                    @component('backend::component.form.button')
                        @slot('title') 提交 @endslot
                        @slot('params') {"formId":"#send-msg"} @endslot
                        @slot('class') btn-min-width ajax-form @endslot
                    @endcomponent
                    @component('backend::component.form.button')
                        @slot('title') 重置 @endslot
                        @slot('type') reset @endslot
                        @slot('color') danger @endslot
                        @slot('class') btn-min-width @endslot
                    @endcomponent
                </div>
            </form>
        @endslot
    @endcomponent
@endsection